/* 在父窗口中打开window */
function openTopWindow(options) {
  options = !options ? {} : options;
  options.width = !options.width ? 500 : options.width;
  options.height = !options.height ? 400 : options.height;
  options.url = !options.url ? "404.html" : options.url;
  options.title = !options.title ? "" : options.title;
  options.fit = !options.fit ? false : options.fit;
  parent.$("#topWindow").window({
    title : options.title,
    left: 0,
    top: 0,
    width : options.width,
    height : options.height,
    content : "<iframe scrolling='no' frameborder='0' border='0' height='100%' width='100%' src='"
        + options.url + "'></iframe>",
    modal : true,
    resizable : true,
    collapsible : false,
    fit: options.fit
  });
}